//
//  sdkCall.h
//  sdkDemo
//
//  Created by qqconnect on 13-3-29.
//  Copyright (c) 2013年 qqconnect. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <TencentOpenAPI/TencentOAuth.h>
#import "SDKDemoDefine.h"
#import "FGalleryViewController.h"

#define BOOL_SHOULD_AUTORATE    YES
#define Supported_Interface_Orientations    UIInterfaceOrientationMaskAll

#define OPEN_SDK_UL_CI    1
#define OPEN_SDK_UL_DEBUG 0

//以下是模仿只横屏游戏
//#define BOOL_SHOULD_AUTORATE    YES
//#define Supported_Interface_Orientations    (UIInterfaceOrientationMaskLandscapeLeft | UIInterfaceOrientationMaskLandscapeRight)

//以下是模仿只竖屏app
//#define BOOL_SHOULD_AUTORATE    YES
//#define Supported_Interface_Orientations    (UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskPortraitUpsideDown)

//全方向支持
//#define BOOL_SHOULD_AUTORATE    YES
//#define Supported_Interface_Orientations    UIInterfaceOrientationMaskAll

@interface SDKCall : NSObject<TencentSessionDelegate,
FGalleryViewControllerDelegate, TCAPIRequestDelegate>
+ (SDKCall *)getinstance;
+ (void)resetSDK;

+ (void)showInvalidTokenOrOpenIDMessage;
@property (nonatomic, strong) NSMutableArray *photos;
@property (nonatomic, strong) NSMutableArray *thumbPhotos;

@property (nonatomic, assign)BOOL forceWebLogin;

- (void)logout;
@end
